package com.bjsxt.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * 页面跳转jsp
 * @author 程应康
 *
 */
@Controller
public class PageController {
	@RequestMapping("/")
	public String showLogin() {
		return "login";
	}
	@RequestMapping("/{page}")
	public String showPage(@PathVariable String page) {
		return page;
	}
}
